/*分割器边框颜色宽度圆角*/
QSplitter {
  border: 1px solid rgb(91, 123, 197);
  border-radius: 5px;
}
/*分割线的颜色*/
QSplitter::handle {
  background-color: rgb(52, 55, 61);
}
/*按钮的样式*/
QPushButton{
  border-style:none;
  border:1px solid #242424;
  color:#DCDCDC;
  padding:5px;
  border-radius:5px;
  background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
}
/*鼠标移动进按钮时的样式*/
QPushButton:hover{
  background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252);
}
/*鼠标在按钮上按下时的样式*/
QPushButton:pressed{
  background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
}
/*输入框样式*/
QLineEdit{
  background-color: white;
  border-radius: 5px;
  border: 1px solid rgb(91, 123, 197);
}
/*objectName为conditionLineEdit的输入框的样式*/
QLineEdit#conditionLineEdit {
  border: 0px;
}
/*列表样式*/
QListWidget{
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  background-color: rgb(52, 55, 61);
  color:#DCDCDC;
}
/*列表中的复选框样式*/
QListWidget QCheckBox {
  color:#DCDCDC;
}
/*列表中每项的样式*/
QListWidget::item {
  border: 1px solid grey;
  border-radius: 5px;
}
QListWidget::item:alternate {
  background: #EEEEEE;
}

QListWidget::item:selected {
  border: 1px solid #6a6ea9;
}

QListWidget::item:selected:!active {
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  stop: 0 #B7F8DB, stop: 1 #50A7C2);
}

QListWidget::item:selected:active {
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  stop: 0 #FFCF71, stop: 1 #2376DD);
}

QListWidget::item:hover {
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  stop: 0 #616161, stop: 1 #9bc5c3);
}

/*下拉框样式*/
QComboBox {
  border: 1px solid gray;
  border-radius: 5px;
  padding: 1px 18px 1px 3px;
  min-width: 6em;
  width: 7em;
}
/*下拉框右边的按钮的样式*/
QComboBox::drop-down {
  subcontrol-origin: padding;
  subcontrol-position: top right;
  width: 15px;
  border-left-width: 1px;
  border-left-color: darkgray;
  border-left-style: solid; /* just a single line */
  border-top-right-radius: 5px; /* same radius as the QComboBox */
  border-bottom-right-radius: 5px;
}

/*进度条样式*/
QProgressBar {
  border: 1px solid grey;
  border-radius: 5px;
  text-align: center;
}

QProgressBar::chunk {
  background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #72EDF2,stop:1 #5151E5);
  width: 10px;
  margin: 0.5px;
}

/*设置表格样式*/
QTableWidget{
  color:#DCDCDC;
  background:#444444;
  border:1px solid #242424;
  alternate-background-color:#525252;/*交错颜色*/
  gridline-color:#242424;
}

/*选中item*/
QTableWidget::item:selected{
  color:#DCDCDC;
  background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
}

/*悬浮item*/
QTableWidget::item:hover{
  background:#5B5B5B;
}

/*表头*/
QHeaderView::section{
  text-align:center;
  background:#5E5E5E;
  padding:3px;
  margin:0px;
  color:#DCDCDC;
  border:1px solid #242424;
  border-left-width:0;
}

/*表右侧的滑条*/
QScrollBar:vertical{
  background:#484848;
  padding:0px;
  border-radius:6px;
  max-width:12px;
}

/*滑块*/
QScrollBar::handle:vertical{
  background:#CCCCCC;
}

/*滑块悬浮，按下*/
QScrollBar::handle:hover:vertical,QScrollBar::handle:pressed:vertical{
  background:#A7A7A7;
}

/*滑块已经划过的区域*/
QScrollBar::sub-page:vertical{
  background:444444;
}

/*滑块还没有划过的区域*/
QScrollBar::add-page:vertical{
  background:5B5B5B;
}

/*页面下移的按钮*/
QScrollBar::add-line:vertical{
  background:none;
}

/*页面上移的按钮*/
QScrollBar::sub-line:vertical{
  background:none;
}

/*objectName为loadingTips的标签的样式*/
QLabel#loadingTips{
  font-family:"Microsoft YaHei";
  font-size: 12px;
  color: #333333;
}

/*objectName为loadingCancelBtn的按钮的样式*/
QPushButton#loadingCancelBtn{
  background-color: #f7f3e9;
  border-radius: 4px;
  font-family: "Microsoft YaHei";
  font-size: 12px;
  color: #333333;
}

/*objectName为loadingCancelBtn的按钮的样式,鼠标移动到按钮上*/
QPushButton#loadingCancelBtn::hover{
  background:#6BA292
}
